﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    [Table(Name = "customer_loginlog")]
    public class Customerloginlog : Entity
    {
        /// <summary>
        ///
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "user_id")]
        public int user_id { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "user_name")]
        public String user_name { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "login_time")]
        public DateTime login_time { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "login_ip")]
        public String login_ip { get; set; }

        /// <summary>
        /// 登录方式
        /// </summary>
        [Column(Name = "login_method")]
        public String login_method { get; set; }

    }
}
